// Color variables (appears count calculates by raw css)
@wizard_nav: #f47561; // Appears 5 times

@forms_button_background:rgba(107, 107, 107, 0.87);
@forms_button_color:@white;
@forms_input_border: 1px solid #aaaaaa;
@forms_subform_background_color: #eeeeee; // Appears 2 times
@forms_validation_error_color:#d8b0b0;


input {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  border: @forms_input_border;
  font-size: 13px;
  margin-left: 10px;
  margin-top: 1px;
  padding: 2px;
}
textarea {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  background-color: @white;
  border-radius: 2px;
  border: @forms_input_border;
  font-size: 13px;
  margin-left: 10px;
  margin-top: 1px;
  padding: 2px;
}
select {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  border: @forms_input_border;
  font-size: 13px;
  margin-left: 10px;
  margin-top: 1px;
  padding: 2px;
}
div.oneFieldForm {
  background-color: @forms_subform_background_color;
  border-radius: 4px;
  margin-bottom: 13px;
  margin-top: 10px;
  padding: 3px 6px;
  input.SF_input {
    background: white !important;
  }
}
.largeButton {
  background: @forms_button_background;
  border-radius: 5px;
  color: @forms_button_color;
  cursor: pointer;
  display: inline-block;
  float: left;
  font-size: 13px;
  margin-left: 12px;
  outline: none;
  overflow: visible;
  padding: 7px 6px !important;
  text-align: center;
  img {
    height:16px;
    margin-right: 5px;
    margin-top: 3px;
    position: relative;
    top: -2px;
    vertical-align: middle;
    width:16px;
  }
}
.SF_input.SF_inlineButton {
  background: @forms_button_background;
  border-radius: 5px;
  color: @forms_button_color;
  cursor: pointer;
  display: inline-block;
  float: left;
  font-size: 13px;
  margin-left: 12px;
  outline: none;
  overflow: visible;
  padding: 7px 6px !important;
  text-align: center;
  font-weight: 500;
}
.SF_disabled {
  img {
    -moz-opacity:0.3;
    cursor:default;
    filter:alpha(opacity=30);
    opacity: 0.3;
  }
}
div.wizard-pane {
  display: none !important;
}
div.wizard-pane.wizard-panel-active {
  display: block !important;
}
div.wizard_panel_title {
  font-size: 24px;
  margin: 5px 0;
}
div.wizard_buttons {
  margin-top: 30px;
  text-align: center;
  div {
    display: inline-block !important;
    float: none !important;
    margin-left: 10px !important;
    width:70px;
  }
}
.SF_input.SF_inlineButton.wizard_previous.disabled {
  display: none !important;
}
.SF_input.SF_inlineButton.wizard_next.disabled {
  display: none !important;
}

div.wizard_progress {
  display: -webkit-flex !important;
  display: flex !important;
}
.wizard_previous {
  background-color: @wizard_nav !important;
}
.wizard_next {
  background-color: @wizard_nav !important;
}
span.wizard_progress_element {
  background-color: @white;
  border-bottom: 3px solid #D8D7D7;
  color: #555555;
  flex: 1;
  font-size: 11px;
  padding: 28px 0 14px;
  position: relative;
  text-align: center;
}
span.wizard_progress_element.wizard_progress_passed {
  border-bottom: 3px solid @wizard_nav;
  color: @wizard_nav;
}
span.progress_number {
  background-color: #ABAAAA;
  border-radius: 50%;
  bottom: -9px;
  color: white;
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  height: 16px;
  left: 43%;
  position: absolute;
  text-align: center;
  width: 16px;
  line-height: 17px;
}
.wizard_progress_passed {
  span.progress_number {
    background-color: @wizard_nav;
  }
}
label {
  font-size: 13px;
  margin: 0 5px;
}
.checkbox_left {
  clear: left;
  float: left;
  margin: 0 4px 5px 0 !important;
}
label.checkbox_label_left {
  display: inline-block;
  float: left;
}
div.SF_element {
  clear:left;
  margin: 0 2%;
  padding-top: 5px;
  width: 96%;
  div.SF_element {
    margin: 0;
  }
}
div.dialogContent {
  div.SF_element {
  }
}
div.SF_disabled {
  color: #cccccc;
  font-style:italic;
}
div.SF_label {
  line-height: 22px !important;
  margin-top: 3px;
  width: 100% !important;
}
input.SF_fieldCheckBox {
  margin-top: 7px !important;
}
.no-flexbox {
  div.SF_label {
    padding-right:3px !important;
  }
}
.SF_input {
  margin-left: 0;
  max-width: 450px !important;
  padding: 1% !important;
  width: 97%;
}
.SF_element {
  textarea {
    background-color: white;
    margin-left: 0 !important;
    max-width: 450px !important;
    width: 97% !important;
  }
  select {
    background-color: white;
    margin-left: 0 !important;
    max-width: 450px !important;
    width: 97% !important;
  }
  div.SF_image_block {
    background-color: white;
    margin-left: 0 !important;
    max-width: 450px !important;
    width: 97% !important;
  }
}
div.SF_element.SF_largeLabel>input.SF_input.SF_number {
  text-align: right;
  width: 30px !important;
}
input.SF_input.SF_number {
  text-align: right;
  width: 30px !important;
}
select.SF_input {
  box-sizing: border-box;
  max-width: 450px !important;
  padding: 0 0 0 5px !important;
  width: 99% !important;
}
.SF_box {
  width: 20px !important;
}
.SF_fieldCheckBox {
  float:left;
  margin: 5px;
}
.SF_elementWithCheckbox>.SF_input {
  _width:46% !important;
  width: 50% !important;
}
.SF_inlineButton {
  background-image: url('../../images/grid_tl.png');
  margin: 3px 0 !important;
  padding: 4px !important;
  span[class^="icon-"] {
    margin-right: 3px;
  }
}
.SF_inlineMonitoring {
  padding: 7px 4px !important;
}
.SF_inlineMonitoring.SF_inlineMonitoringWorking {
  &:after {
    content: " [reloading]";
  }
}
.SF_inlineButton.SF_inlineButtonWorking {
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.35);
  padding-bottom: 8px !important;
  padding-top: 10px !important;
}
.SF_failed {
  border: 1px solid @forms_validation_error_color !important;
}
.SF_replicableGroup {
  background-color: @forms_subform_background_color;
  border-radius: 5px;
  clear: both;
  margin-bottom: 5px;
  margin-top: 8px;
  padding-bottom: 20px;
  position: relative;
  padding-left: 10px;
  margin-left: -10px;
  max-width: 490px;
}
.SF_replication_Add {
  bottom: -2px;
  display: block;
  height: 20px;
  left: 5px;
  position:absolute;
  width: 20px;
  cursor: pointer;
  color: @primary-1-color;
  font-family: FontAwesome;
  &:before{
    content: "\f067";
  }
}
.SF_replication_Remove {
  font-family: FontAwesome;
  display: block;
  height: 20px;
  left: 5px;
  position:absolute;
  top: 5px;
  width: 20px;
  cursor: pointer;
  color: @primary-1-color;
  &:before{
    content: "\f068";
  }
}
.SF_rgClear {
  clear:left;
  height: 3px;
}
.SF_image_block {
  float: left;
  max-width: 80px;
}
.SF_image.small {
  max-height: 80px;
  max-width: 80px;
  &[src*="default_avatar"]{
    background-color: #B0BEC5;
  }
}
#user_profile_form {
  img.SF_image.small {
    border-radius: 40px;
  }
}
.SF_image_link {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  width: 80px;
}
.accordion_toggle_failed {
  background-color: @forms_validation_error_color !important;
}
.SF_horizontal_labelRow {
  clear: both;
  div.SF_label {
    float:left;
    margin-right: 5px;
    overflow: hidden;
    padding: 0 5px 0 3px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.SF_horizontal_fieldsRow {
  clear: both;
  input {
    float: left;
    font-size: 13px;
    margin-right: 5px;
    padding: 3px 4px 3px 2px !important;
  }
  input.SF_number {
    text-align: left;
  }
}
.SF_horizontal_actions {
  float: left;
  font-size: 15px;
  padding: 5px 2px;
  span {
    cursor: pointer;
    margin-right: 0;
  }
}
.SF_horizontal_pastilles {
  float: none;
  font-size: 11px;
  padding: 1px 8px;
  span {
    margin-right: 10px;
  }
  span>span {
    margin: 0;
  }
}
.SF_horizontal_action_destructive {
  color: #aa0000;
}
.dialogBox{
  .dialogContent {
    div.SF_material {
      select, input, div{
        font-family: Roboto, sans-serif;
      }
      div.SF_element {
        margin: 0;
        width: auto;
        span.select-styler {
          border-top: 1px solid #e2e2e2;
          display: block;
          width: 98%;
        }
      }
      div.SF_label {
        color: rgb(140, 140, 140);
        font-size: 11px;
        line-height: 14px !important;
        margin-left: 0;
        margin-top: 17px;
        text-transform: none;
      }
      input {
        border-radius: 0;
        border: 0;
        font-size: 14px;
        margin:1px 0 0 0;
        padding: 4px 1% 0 0 !important;
        border-bottom: 1px solid #dddddd;
      }
      textarea {
        border-radius: 0;
        border: 0;
        font-size: 14px;
        padding: 4px 1% 0 0 !important;
        border-bottom: 1px solid #dddddd;
      }
      select {
        font-family: Roboto, sans-serif;
        border-radius: 0;
        border: 0;
        font-size: 14px;
        margin:1px 0 0 0;
        padding: 4px 1% 0 0 !important;
      }
      select.SF_input {
        border: 0;
        box-sizing: border-box;
        padding: 0 !important;
        width: 98% !important;
      }
      *.dialogLegend {
        font-size: 12px;
        line-height: inherit;
        padding: 7px 0;
      }
      input.SF_failed {
        border:0 !important;
        border-bottom: 1px solid @forms_validation_error_color !important;
      }
      div.SF_input.SF_inlineButton.disabled {
        opacity: 0.5;
      }
    }

    div.reset-pydio-forms{
      input{
        border:0;
        margin: 0;
        padding: 0;
        border-radius: 0;
        height: inherit;
        font-size: inherit;
        background-color: transparent;
        &:disabled{
          background-color: transparent !important;
        }
      }
      .mui-text-field.mui-has-floating-labels .mui-text-field-input{
        padding-top: 24px !important;
      }
      input[type="checkbox"], .dialogContent input[type="radio"]{
        height: 100%;
        width: 100%;
      }
    }

  }

}

